package gameClient.util;

import gameClient.model.PokerLabel;

/**
 * 负责扑克牌列表显示
 */
public class GameUtil {
    public static void move(PokerLabel pokerLabel, int x, int y) {
        pokerLabel.setLocation(x, y);
        try {
            Thread.sleep(60);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    public static void moveWithNoSleep(PokerLabel pokerLabel,int x,int y)
    {
        pokerLabel.setLocation(x, y);
    }
}
